package com.spark.gaea.security.backend;

import com.spark.gaea.security.domain.SecurityUser;

import java.util.Set;

public interface SecurityBackend {
	String getUserId(final String p0);

	SecurityUser getUser(final String p0);

	Set<String> getUserRoles(final String p0);

	Set<String> getUserPermissions(final String p0);

	Set<String> getUserPermissionsByMisid(final String p0, final String p1);
}
